<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb18030" />
<meta http-equiv="Content-Language" content="zh-CN" />
<title>修改新闻</title>
<link href="../Style/Css.css" rel="stylesheet" type="text/css" />

<script language="javascript">

	function check()
	{
		if(document.all.form1.title.value.Trim()==""){
			alert("请填写标题!");
			return false;
		 }

		 return true;
	}
	
	function back()
	{
		document.all.form1.action="NewsList.jsp";
		document.form1.submit();
	}
</script>
</head>
<body>
<h3 class="subTitle">修改新闻</h3>

<form id="form1" name="form1" action="#.do">
		<table width="90%" border="0" align="center" cellpadding="0" class="table2" cellspacing="0">
		    <tr>
          <th width="15%" align="right">新闻类别</th>
          <td>
          	<select name="column">
							<option value="1" selected="selected">军事新闻</option>
							<option value="0">娱乐新闻</option>
							<option value="0">科技新闻</option>
							<option value="0">国际新闻</option>
							<option value="0">国内新闻</option>
						</select>
					</td>
      	</tr>
		    <tr>
		        <th align="right">文章标题</th>
		        <td><input name="header" type="text" class="input1" id="header"/></td>
		    </tr>
		    <tr>
		        <th name="textarea" align="right" valign="top">文章内容</th>
		        <td style="height: 153px; ">
		        	<textarea rows="7" cols="" style="width: 736px; "></textarea>
		        </td>
		    </tr>
		    </tr>
		</table>
    <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="yesno">
        <tr>
            <td height="50" align="center">
            	<input type="submit" name="Submit" value="修改" />
            	<input type="reset" name="Submit2" value="重置" />
            	<input type="button" name="Submit" value="取消" onclick="back()"/> 
           	</td>
        </tr>
    </table>
</form>
</body>
</html>
